import request from '@/utils/request';

//获取角色列表数据的接口  get
export const reqRolesList=(page,limit,searchobj)=>request({url:`/admin/acl/role/${page}/${limit}`,method:'get',params:searchobj});

//添加角色的接口
export const reqsaveRole=(role)=>request({url:`/admin/acl/role/save`,method:'post',data:role});

//批量删除的接口
export const reqremoveRoles=(ids)=>request({url:`/admin/acl/role/batchRemove`,method:'delete',data:ids})